package myPack.GMAO.Entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.OneToOne;

@Entity
@Inheritance (strategy=InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name="Personel_type",discriminatorType=DiscriminatorType.STRING,length=5)
public class Acteur implements Serializable
{
	
	@Id @GeneratedValue
	private int mat;
	
    private String nom;
    private String Adress;
    private String tell;
    private String email;
    private Date dateE;
    
	public Acteur() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Acteur(int mat, String nom, String adress, String tell,
			String email, Date dateE) {
		super();
		this.mat = mat;
		this.nom = nom;
		Adress = adress;
		this.tell = tell;
		this.email = email;
		this.dateE = dateE;
	}

	public int getMat() {
		return mat;
	}
	public void setMat(int mat) {
		this.mat = mat;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getAdress() {
		return Adress;
	}
	public void setAdress(String adress) {
		Adress = adress;
	}
	public String getTell() {
		return tell;
	}
	public void setTell(String tell) {
		this.tell = tell;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getDateE() {
		return dateE;
	}

	public void setDateE(Date dateE) {
		this.dateE = dateE;
	}
	
}
